﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="ZCH001.aspx.cs" Inherits="ZCH001" %>

<asp:Content ID="cntHead" ContentPlaceHolderID="Head" Runat="Server">
    <link href="styles/ZCH001.css" rel="stylesheet" type="text/css"/>
    <script src="scripts/ZCH001.js" type="text/javascript"></script>
    <style type="text/css">
    </style>
        <script type="text/javascript">

            jQuery(function ($) {

            });
            //查询按钮不渲染
            jQuery(function ($) {
                $(":submit").each(function (i, e) {
                    //alert($(this).val());
                    if ($(this).val() == "查询") {
                        $(this).css("display", "none");
                    }
                });
            });

            //
            jQuery(function ($) {
                //字符数字可以输入
                $("#MainContent_txt品名CD,#MainContent_txt指示状态CD,#MainContent_txt车主,#MainContent_txt所用车型CD,#MainContent_txt发货地,#MainContent_txt卸货地").bind({
                    "keydown": function (event) {
                        return keyCheckAlphaNumeric(event.keyCode);
                    }
                });
            });
    
    </script>
</asp:Content>
<asp:Content ID="cntMain" ContentPlaceHolderID="MainContent" Runat="Server">
    <div>
        <asp:Label ID="lbl调度指示号" runat="server" Text="调度指示号" CssClass="ZCH001_lbl"></asp:Label>
        <asp:TextBox ID="txt调度指示号" runat="server" style="width:80px;" Text="DZ1312001" 
            MaxLength="7" Width="10px" ></asp:TextBox>
        <asp:Label ID="lbl发货预定日时" runat="server" CssClass="ZCH001_lbl" style="margin-left:15px;" Text="发货预定日时"></asp:Label>
        <asp:TextBox ID="txt发货预定日时_Day" runat="server" CssClass="ZCH001_txt_date" 
            Text="20121201" MaxLength="8" ></asp:TextBox>
        <asp:TextBox ID="txt发货预定日时_Hour" runat="server" CssClass="ZCH001_txt_hour" 
            MaxLength="2">18</asp:TextBox>
        <asp:Label ID="lbl月" runat="server" CssClass="ZCH001_lbl" Text="月" style=" background:none;"></asp:Label>

        <asp:Label ID="lbl品名" runat="server" CssClass="ZCH001_lbl" Text="品名" style="margin-left:80px;"></asp:Label>
        <asp:TextBox ID="txt品名CD" runat="server" CssClass="ZCH001_lbl" Text="01" MaxLength="4" style="margin-left:30px;"
            Width="30px"></asp:TextBox>
        <asp:Label ID="txt品名" runat="server" CssClass="ZCH001_txt" Width="60px">钢丝绳</asp:Label>
        <%--<asp:Button ID="btn品名查询" runat="server" Text="查询" cssClass="button"/>--%>

        <asp:Label ID="lbl指示状态" runat="server" CssClass="ZCH001_lbl" Text="指示状态" style="margin-left:60px;"></asp:Label>
        <asp:TextBox ID="txt指示状态CD" runat="server" CssClass="ZCH001_lbl" Text="01" MaxLength="2"
            Width="30px"></asp:TextBox>
        <asp:Label ID="txt指示状态" runat="server" CssClass="ZCH001_txt">指示完</asp:Label>
        <%--<asp:Button ID="btn指示状态查询" runat="server" Text="查询" cssClass="button"/>--%>

    </div>
    <div style="margin-top:10px">
        <asp:Label ID="lbl车牌号" runat="server" Text="车牌号" CssClass="ZCH001_lbl"></asp:Label>
        <asp:TextBox ID="txt车牌号" runat="server" Text="苏F88888" CssClass="ZCH001_txt_4" style="margin-left:25px;"
            Width="74px"></asp:TextBox>
       <%-- <asp:Button ID="btn车牌号查询" runat="server" Text="查询" cssClass="button"/>--%>
        <asp:Label ID="lbl车主" runat="server" Text="车主" CssClass="ZCH001_lbl" style="margin-left:24px;"></asp:Label>
        <asp:TextBox ID="txt车主CD" runat="server" Text="A000001" style="margin-left:35px;"
            CssClass="ZCH001_txt_15" Width="61px"></asp:TextBox>
        <asp:Label ID="txt车主" runat="server" Text="赵老板" CssClass="ZCH001_lbl" style="background:#fff;" 
            Width="150px" Enabled="False" ></asp:Label>
        <%--<asp:Button ID="btn客户查询" runat="server" Text="查询"   cssClass="button"/>--%>
        <asp:Label ID="lbl所用车型" runat="server" Text="所用车型" CssClass="ZCH001_lbl" style="margin-left:20px;"></asp:Label>
        <asp:TextBox ID="txt所用车型CD" runat="server" Text="2" CssClass="ZCH001_txt_4" 
            Width="26px"></asp:TextBox>
        <asp:Label ID="txt所用车型" runat="server" Text="15m卡车" CssClass="ZCH001_lbl" 
            style="background:#fff;" Width="80px" Enabled="False"></asp:Label>
        <%--<asp:Button ID="btn所用车型查询" runat="server" Text="查询"   cssClass="button"/>--%>
        <asp:Label ID="lbl合同编号" runat="server" Text="合同编号" CssClass="ZCH001_lbl" style="margin-left:50px;"></asp:Label>
        <asp:TextBox ID="txt合同编号" runat="server" Text="151403011" MaxLength="10"
            CssClass="ZCH001_txt_4" Width="80px"></asp:TextBox>
    </div>

    <div style="margin-top:10px">
        <asp:Label ID="lbl订单号" runat="server" Text="订单号" CssClass="ZCH001_lbl"></asp:Label>
        <asp:TextBox ID="txt订单号" runat="server" Text="DD1212001" style="margin-left:25px;"
            CssClass="ZCH001_txt_4" Width="74px"></asp:TextBox>
       <%-- <asp:Button ID="btn订单号查询" runat="server" Text="查询" cssClass="button"/>--%>
        <asp:Label ID="lbl装货地" runat="server" Text="装货地" CssClass="ZCH001_lbl" style="margin-left:24px;"></asp:Label>
        <asp:TextBox ID="txt装货地CD" runat="server" Text="AL01001" style="margin-left:20px;"
            CssClass="ZCH001_txt_15" Width="64px"></asp:TextBox>
        <asp:Label ID="txt装货地" runat="server" Text="南通市亚力钢丝绳厂" CssClass="ZCH001_lbl" 
            style="background:#fff;" Width="150px" Enabled="False"></asp:Label>
        <%--<asp:Button ID="btn装货地查询" runat="server" Text="查询"   cssClass="button"/>--%>
        <asp:Label ID="lbl卸货地" runat="server" Text="卸货地" CssClass="ZCH001_lbl" style="margin-left:20px;"></asp:Label>
        <asp:TextBox ID="txt卸货地CD" runat="server" Text="AL02003" style="margin-left:15px;"
            CssClass="ZCH001_txt_4" Width="66px"></asp:TextBox>
        <asp:Label ID="txt卸货地" runat="server" Text="上海钢制品" CssClass="ZCH001_lbl" style="background:#fff;"
            Width="150px" Enabled="False"></asp:Label>
        <%--<asp:Button ID="btn卸货地查询" runat="server" Text="查询"   cssClass="button"/>--%>
        
    </div>
    <div style="width:100%;margin-top:12px;">
            <asp:Label ID="lbl总件数" runat="server" Text="总件数" style="position:relative;float:right;right:84px; top: 0px;" Width="40px"></asp:Label>
            <asp:Label ID="txt总件数" runat="server" Text="4" CssClass="ZBH001_txt_4" style="position:relative;float:right;right:0px; top: 0px;" Width="40px"></asp:Label></div>
    <div style="margin-top:3px; width:990px;">
        <asp:Table ID="tblList" runat="server" style="width:990px;">
            <asp:TableHeaderRow>
                <asp:TableHeaderCell width="30px">选择</asp:TableHeaderCell>
                <asp:TableHeaderCell width="70px" >调度指示号</asp:TableHeaderCell>
                <asp:TableHeaderCell width="30px">子号</asp:TableHeaderCell>
                <asp:TableHeaderCell width="100px">发货预定日时</asp:TableHeaderCell>
                <asp:TableHeaderCell width="60px">订单号</asp:TableHeaderCell>
                <asp:TableHeaderCell width="80px" >品名</asp:TableHeaderCell>
                <asp:TableHeaderCell width="40px" >数量</asp:TableHeaderCell>
                <asp:TableHeaderCell width="40px" >重量</asp:TableHeaderCell>
                <asp:TableHeaderCell width="55px" >车牌号</asp:TableHeaderCell>
                <asp:TableHeaderCell width="60px" >所用车型</asp:TableHeaderCell>
                <asp:TableHeaderCell width="170px" >装货地</asp:TableHeaderCell>
                <asp:TableHeaderCell width="170px" >卸货地</asp:TableHeaderCell>
            </asp:TableHeaderRow>
           
            <asp:TableRow CssClass="odd">
                <asp:TableCell   ><asp:RadioButton ID="RadioButton1" runat="server" GroupName="rad"  Checked="true"/></asp:TableCell>
                <asp:TableCell  >DZ1312001</asp:TableCell>
                <asp:TableCell  >001</asp:TableCell>
                <asp:TableCell  >2012/12/02</asp:TableCell>
                <asp:TableCell  >1212001</asp:TableCell>
                <asp:TableCell  >01钢丝绳</asp:TableCell>
                <asp:TableCell  >20个</asp:TableCell>
                <asp:TableCell  >15.30t</asp:TableCell>
                <asp:TableCell  >苏F88888</asp:TableCell>
                <asp:TableCell  >15t卡车</asp:TableCell>
                <asp:TableCell  >AL01001南通市亚力钢丝绳</asp:TableCell>
                <asp:TableCell  >AL02003上海钢制品</asp:TableCell>
            </asp:TableRow>
            
            <asp:TableRow CssClass="even">
                <asp:TableCell   ><asp:RadioButton ID="RadioButton2" runat="server" GroupName="rad"  Checked="false"/></asp:TableCell>
                <asp:TableCell  >DZ1312001</asp:TableCell>
                <asp:TableCell  >002</asp:TableCell>
                <asp:TableCell  >2012/12/02</asp:TableCell>
                <asp:TableCell  >1212002</asp:TableCell>
                <asp:TableCell  >01钢丝绳</asp:TableCell>
                <asp:TableCell  >20个</asp:TableCell>
                <asp:TableCell  >15.30t</asp:TableCell>
                <asp:TableCell  >苏F88888</asp:TableCell>
                <asp:TableCell  >15t卡车</asp:TableCell>
                <asp:TableCell  >AL01001南通市亚力钢丝绳</asp:TableCell>
                <asp:TableCell  >AL02003上海钢制品</asp:TableCell>
            </asp:TableRow>
             <asp:TableRow CssClass="odd">
                <asp:TableCell   ><asp:RadioButton ID="RadioButton3" runat="server" GroupName="rad"  Checked="false"/></asp:TableCell>
                <asp:TableCell  >DZ1312001</asp:TableCell>
                <asp:TableCell  >003</asp:TableCell>
                <asp:TableCell  >2012/12/02</asp:TableCell>
                <asp:TableCell  >1212003</asp:TableCell>
                <asp:TableCell  >01钢丝绳</asp:TableCell>
                <asp:TableCell  >20个</asp:TableCell>
                <asp:TableCell  >15.30t</asp:TableCell>
                <asp:TableCell  >苏F88888</asp:TableCell>
                <asp:TableCell  >15t卡车</asp:TableCell>
                <asp:TableCell  >AL01001南通市亚力钢丝绳</asp:TableCell>
                <asp:TableCell  >AL02003上海钢制品</asp:TableCell>
            </asp:TableRow>
            
            <asp:TableRow CssClass="even">
                <asp:TableCell   ><asp:RadioButton ID="RadioButton4" runat="server" GroupName="rad"  Checked="false"/></asp:TableCell>
                <asp:TableCell  >DZ1312001</asp:TableCell>
                <asp:TableCell  >004</asp:TableCell>
                <asp:TableCell  >2012/12/02</asp:TableCell>
                <asp:TableCell  >1212004</asp:TableCell>
                <asp:TableCell  >01钢丝绳</asp:TableCell>
                <asp:TableCell  >20个</asp:TableCell>
                <asp:TableCell  >15.30t</asp:TableCell>
                <asp:TableCell  >苏F88888</asp:TableCell>
                <asp:TableCell  >15t卡车</asp:TableCell>
                <asp:TableCell  >AL01001南通市亚力钢丝绳</asp:TableCell>
                <asp:TableCell  >AL02003上海钢制品</asp:TableCell>
            </asp:TableRow>
            
        </asp:Table>
    </div>

    <div class="ZCH001_div" style="margin-top:30px; ">
        <asp:Table ID="Table1" runat="server" style="width:500px; margin-left:350px; text-align: center;display:inline-block;">
            <asp:TableRow style="font-style : normal ;">
                <asp:TableCell ><asp:Label ID="txt总重量" runat="server" Text="100t" Width="40px"></asp:Label></asp:TableCell>
                <asp:TableCell ><asp:Label ID="txt总数量" runat="server" Text="10" Width="40px"></asp:Label></asp:TableCell>
                <asp:TableCell style="border-top:none;border-bottom:none;border-right:none;">
                <asp:Button ID="btn调度指示单打印" runat="server" Text="调度指示单打印" Width="130px" Enabled="False" /></asp:TableCell>
            </asp:TableRow>
        </asp:Table>
        
    </div>
    <asp:HiddenField ID="hid品名" runat="server" />
    <asp:HiddenField ID="hid指示状态" runat="server" />
<%--    <asp:HiddenField ID="hid车牌号" runat="server" />--%>
    <asp:HiddenField ID="hid车主" runat="server" />
    <asp:HiddenField ID="hid所用车型" runat="server" />
  <%--  <asp:HiddenField ID="hid订单号" runat="server" />--%>
    <asp:HiddenField ID="hid装货地" runat="server" />
    <asp:HiddenField ID="hid卸货地" runat="server" />
    <asp:HiddenField ID="hidPageNo" runat="server" />

</asp:Content>
<asp:Content ID="cntFooter" ContentPlaceHolderID="FooterContent" Runat="Server">
    <div style="text-align:center; margin-bottom:10px;">
        <div class="btn_footer"><asp:Button ID="Button7" runat="server" Text="执行" 
                CssClass="btn_footer" onclick="btn执行_Click"/></div>
        <div class="btn_footer"><asp:Button ID="Button34" runat="server" Text="取消"  CssClass="btn_footer"/></div>
        <div class="btn_footer"><asp:Button ID="Button35" runat="server" Text="返回"  CssClass="btn_footer"/></div>
        <div class="btn_footer"><asp:Button ID="Button36" runat="server" Text="上一页"  CssClass="btn_footer"/></div>
        <div class="btn_footer"><asp:Button ID="Button37" runat="server" Text="下一页" CssClass="btn_footer" /></div>
        <div class="btn_footer"><asp:Button ID="Button38" runat="server" Text="清除"  CssClass="btn_footer"/></div>
        <div class="btn_footer"><asp:Button ID="btn主菜单" runat="server" Text="主菜单" CssClass="btn_footer" onclick="btn主菜单_Click"  /></div>
    </div>
</asp:Content>

